package com.ww.basic.oop

object CopApp extends App {
  /**
   * 定义类型别名
   */
  type Cop = PoliceOfficer

  val topCop = new Cop("Jack")

  /**
   * 打印结果
   * class com.ww.basic.oop.PoliceOfficer
   */
  println(topCop.getClass)
}
